package com.pucong.gitee.database.backup.business.sys.vo;

import com.pucong.gitee.database.backup.common.selfenum.TreeType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

@Data
@ApiModel("新增角色资源关系vo")
public class AddSysRoleResourceVo implements Serializable {

    private static final long serialVersionUID = 1L;

    @NotBlank
    @ApiModelProperty("资源id")
    private String resourceId;

    @NotBlank
    @ApiModelProperty("资源类型")
    private TreeType resourceType;
}